<?php
/**
 * Created by PhpStorm.
 * User: hda
 * Date: 2017/5/10
 * Time: 上午11:35
 */

namespace app\order\controller;


use icontroller\wechat\AController;
use icontroller\wechat\index\IPay;
use library\common\str;
use library\tencent\wechat\admin_wechat\SendTemplateMessage;
use library\tencent\wechat\wechat_index\PayManagement;
use logic\wechat\index\LPay;
use model\AccountBill;
use model\ShopRegUserOrder;
use think\Db;

class Pay extends AController implements IPay
{
    private $logic;
    public function __construct()
    {
        parent::__construct();
        $this->logic = new LPay();
    }
    //支付页面:type:0=>注册会员,1=>注册vip会员,2=>水卡续费,3=>购买商品
    public function index(){
        return view();
    }

    public function pay_success(){
        $id=input('id');
        $this->assign('id',$id);
        return view();
    }
}